package com.ctg.itrdc.sysmgr.portal.api.dto;

import java.sql.Timestamp;


public class AttrSpecDTO extends BaseDTO {
	private static final long serialVersionUID = -2811347047325737314L;


	/**
	 * 属性的主键
	 */
	private Long attrId;

	/**
	 * 业务大类主键
	 */
	private Long busiTypeId;

	/**
	 * 描叙业务对象属性规格名称
	 */
	private String attrName;

	/**
	 * 父级属性的标识
	 */
	private Long parAttrId;

	/**
	 * 记录创建的员工
	 */
	private Long createStaff;

	/**
	 * 记录修改的时间
	 */
	private Timestamp updateDate;

	/**
	 * 属性值在业务对象实例中唯一
	 */
	private String isUnique;

	/**
	 * 业务对象属性规格详细描述
	 */
	private String attrDesc;

	/**
	 * 记录备注信息。
	 */
	private String remark;

	/**
	 * 属性规格取值范围之最大值
	 */
	private String valueTo;

	/**
	 * 状态修改的时间
	 */
	private Timestamp statusDate;

	/**
	 * 是否可空
	 */
	private String isNullable;

	/**
	 * 描叙业务对象属性规格名称
	 */
	private String attrNbr;

	/**
	 * 属性规格值格式(正则表达式),用于属性值生成、合法性效验
	 */
	private String attrFormat;

	/**
	 * 属性规格取值范围之最小值
	 */
	private String valueFrom;

	/**
	 * 记录是否动态属性，动态属性在横表，静态属性在纵表
	 */
	private Integer isDanyAttr;

	/**
	 * 分片键1，固定值-1。
	 */
	private Long shard1;

	/**
	 * 记录修改的员工
	 */
	private Long updateStaff;

	/**
	 * 分片键2，固定值-1。
	 */
	private Long shard2;

	/**
	 * 创建版本号
	 */
	private String crtVersion;

	/**
	 * 租户标识。
	 */
	private Integer tenantId;

	/**
	 * 属性规格值长度
	 */
	private Integer attrLength;

	/**
	 * LOVE,属性值类型，如输入框、下拉框
	 */
	private String attrValueType;

	/**
	 * LOVE,当属性值分类为输入型时，属性值数据类型为日期型、日期时间型、字符型、数值型等
	 */
	private String attrValueDataType;

	/**
	 * 状态
	 */
	private String statusCd;

	/**
	 * 属性规格默认取值
	 */
	private String defaultValue;

	/**
	 * 在用版本号
	 */
	private String useVersion;

	/**
	 * 记录创建的时间
	 */
	private Timestamp createDate;


	public void setAttrId(Long attrId){
		this.attrId = attrId;
	}

	public Long getAttrId(){
		return this.attrId;
	}

	public void setBusiTypeId(Long busiTypeId){
		this.busiTypeId = busiTypeId;
	}

	public Long getBusiTypeId(){
		return this.busiTypeId;
	}

	public void setAttrName(String attrName){
		this.attrName = attrName;
	}

	public String getAttrName(){
		return this.attrName;
	}

	public void setParAttrId(Long parAttrId){
		this.parAttrId = parAttrId;
	}

	public Long getParAttrId(){
		return this.parAttrId;
	}

	public void setCreateStaff(Long createStaff){
		this.createStaff = createStaff;
	}

	public Long getCreateStaff(){
		return this.createStaff;
	}

	public void setUpdateDate(Timestamp updateDate){
		this.updateDate = updateDate;
	}

	public Timestamp getUpdateDate(){
		return this.updateDate;
	}

	public void setIsUnique(String isUnique){
		this.isUnique = isUnique;
	}

	public String getIsUnique(){
		return this.isUnique;
	}

	public void setAttrDesc(String attrDesc){
		this.attrDesc = attrDesc;
	}

	public String getAttrDesc(){
		return this.attrDesc;
	}

	public void setRemark(String remark){
		this.remark = remark;
	}

	public String getRemark(){
		return this.remark;
	}

	public void setValueTo(String valueTo){
		this.valueTo = valueTo;
	}

	public String getValueTo(){
		return this.valueTo;
	}

	public void setStatusDate(Timestamp statusDate){
		this.statusDate = statusDate;
	}

	public Timestamp getStatusDate(){
		return this.statusDate;
	}

	public void setIsNullable(String isNullable){
		this.isNullable = isNullable;
	}

	public String getIsNullable(){
		return this.isNullable;
	}

	public void setAttrNbr(String attrNbr){
		this.attrNbr = attrNbr;
	}

	public String getAttrNbr(){
		return this.attrNbr;
	}

	public void setAttrFormat(String attrFormat){
		this.attrFormat = attrFormat;
	}

	public String getAttrFormat(){
		return this.attrFormat;
	}

	public void setValueFrom(String valueFrom){
		this.valueFrom = valueFrom;
	}

	public String getValueFrom(){
		return this.valueFrom;
	}

	public void setIsDanyAttr(Integer isDanyAttr){
		this.isDanyAttr = isDanyAttr;
	}

	public Integer getIsDanyAttr(){
		return this.isDanyAttr;
	}

	public void setShard1(Long shard1){
		this.shard1 = shard1;
	}

	public Long getShard1(){
		return this.shard1;
	}

	public void setUpdateStaff(Long updateStaff){
		this.updateStaff = updateStaff;
	}

	public Long getUpdateStaff(){
		return this.updateStaff;
	}

	public void setShard2(Long shard2){
		this.shard2 = shard2;
	}

	public Long getShard2(){
		return this.shard2;
	}

	public void setCrtVersion(String crtVersion){
		this.crtVersion = crtVersion;
	}

	public String getCrtVersion(){
		return this.crtVersion;
	}

	public void setTenantId(Integer tenantId){
		this.tenantId = tenantId;
	}

	public Integer getTenantId(){
		return this.tenantId;
	}

	public void setAttrLength(Integer attrLength){
		this.attrLength = attrLength;
	}

	public Integer getAttrLength(){
		return this.attrLength;
	}

	public void setAttrValueType(String attrValueType){
		this.attrValueType = attrValueType;
	}

	public String getAttrValueType(){
		return this.attrValueType;
	}

	public void setAttrValueDataType(String attrValueDataType){
		this.attrValueDataType = attrValueDataType;
	}

	public String getAttrValueDataType(){
		return this.attrValueDataType;
	}

	public void setStatusCd(String statusCd){
		this.statusCd = statusCd;
	}

	public String getStatusCd(){
		return this.statusCd;
	}

	public void setDefaultValue(String defaultValue){
		this.defaultValue = defaultValue;
	}

	public String getDefaultValue(){
		return this.defaultValue;
	}

	public void setUseVersion(String useVersion){
		this.useVersion = useVersion;
	}

	public String getUseVersion(){
		return this.useVersion;
	}

	public void setCreateDate(Timestamp createDate){
		this.createDate = createDate;
	}

	public Timestamp getCreateDate(){
		return this.createDate;
	}

	public Long getId() {
		return attrId;
	}
	
	public void setId(Long id) {
		this.attrId = id;
	}
	
	public AttrSpecDTO() {
		super();
    }
}
